package cn.exrick.xboot.base.service

import cn.exrick.xboot.base.entity.JobEnterprise
import cn.exrick.xboot.core.common.vo.PageVo
import cn.exrick.xboot.core.common.vo.Result
import com.baomidou.mybatisplus.extension.service.IService

/**
 * 就职企业接口
 * @author Fei
 */
interface IJobEnterpriseService : IService<JobEnterprise?> {

    /**
     * 创建或者更新就职企业
     */
    fun createOrUpdateJobEnterprise(jobEnterprise: JobEnterprise): Result<Any?>?

    /**
     * 移除就职企业
     */
    fun removeJobEnterprise(ids:Array<out String>): Result<Any?>?

    /**
     * 获取详情
     */
    fun getDetailById(id: String?): Result<JobEnterprise>?

    /**
     * 获取就职企业
     */
    fun getJobEnterpriseList(pageVo: PageVo): Result<MutableMap<String, Any?>>?

}